package org.jeecg.modules.demo.decoration.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 装修保证金
 * @Author: jeecg-boot
 * @Date:   2024-03-29
 * @Version: V1.0
 */
@Data
@TableName("decoration_deposit")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="decoration_deposit对象", description="装修保证金")
public class DecorationDeposit implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**社区名称*/
	@Excel(name = "社区名称", width = 15)
    @Dict(dicCode = "id",dicText = "depart_name",dictTable="sys_depart")
    @ApiModelProperty(value = "社区名称")
    private java.lang.String communityName;
	/**房产编号*/
	@Excel(name = "房产编号", width = 15)
    @ApiModelProperty(value = "房产编号")
    private java.lang.String propertyNumber;
	/**业主姓名*/
	@Excel(name = "业主姓名", width = 15)
    @ApiModelProperty(value = "业主姓名")
    private java.lang.String ownerName;
	/**装修保证金-收取*/
	@Excel(name = "装修保证金-收取", width = 15)
    @ApiModelProperty(value = "装修保证金-收取")
    private java.lang.Double depositCollection;
	/**收取日期*/
	@Excel(name = "收取日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "收取日期")
    private java.util.Date collectionDate;
	/**退还日期*/
	@Excel(name = "退还日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "退还日期")
    private java.util.Date returnDate;
	/**创建方式*/
	@Excel(name = "创建方式", width = 15)
    @ApiModelProperty(value = "创建方式")
    private java.lang.String createType;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**最后一次更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "最后一次更新日期")
    private java.util.Date updateTime;
    /**
     * 押金表中的id字段
     */
    private java.lang.String yajinId;
    /**
     * 退保证金
     */
    private Double tuibaozhengjin;
    /**
     * 退保证金的时间
     */
    private String tuidate;
}
